package com.sh.工厂模式.factorymethod;

import com.sh.工厂模式.ICourse;
import com.sh.工厂模式.JavaCourse;

public class JavaCourseFactory implements ICourseFactory{
    @Override
    public ICourse createCourse() {
        return new JavaCourse();
    }
}
